<!DOCTYPE html PUBLIC 
	"-//W3C//DTD XHTML 1.1 Transitional//EN"
	"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
	
<%@taglib prefix="s" uri="/struts-tags" %>

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
	<title>Add New Twitter User</title>
	<s:head />
</head>
<body>
	<h4 id="pageTitle">
		Add New Twitter User
	</h4> 
	<s:if test="hasActionErrors()">
		<div class="errors">
			<s:actionerror/>
		</div>
	</s:if>
	<s:form method="post" action="savetwitteruser">
		
		<s:hidden name="actionType" value="add" />

		<s:textfield name="twitterUser.screenName" label="Screen Name" maxlength="50" size="100" required="true"/>

		<s:textfield name="twitterUser.userName" label="User Name" maxlength="50" size="100" required="true"/>
		
		<s:textfield name="twitterUser.avatarURL" label="Avatar Url" maxlength="500" size="100" required="true"/>
				
		<s:checkbox label="CBC Account?" name="twitterUser.cbcAccount" fieldValue="true" />
				
		<tr>
			<td colspan="9">
				<div align="center">
					<input type="submit" value="Save"  />
					<input type="button" value="Cancel" onclick="window.location.href='<s:url action="listtwitteruser" />';" />
				</div>
			</td>
		</tr>
		
	</s:form>	

</body>
</html>
